package com.tianshi.yingxue.dao;

import com.tianshi.yingxue.entity.Admin;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

@Repository
public interface AdminDao {
    void insertAdmin(Admin admin);

    Admin selectByUsername(@Param("username") String username);
}
